package com.jing.shop.domain.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "商品属性表")
public class ProductAttributePO {

    @ApiModelProperty(value = "主键自增id")
    private Long id;

    @ApiModelProperty(value = "商品属性分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "名称")
    private String attributeName;

    @ApiModelProperty(value = "选择类型0-唯一 1-单选 2-多选")
    private Integer attributeSelect;

    @ApiModelProperty(value = "录入方式 0-手工 1-列表")
    private Integer inputType;

    @ApiModelProperty(value = "可选值，逗号隔开")
    private String inputList;

    @ApiModelProperty(value = "排序")
    private Integer attributeSort;

    @ApiModelProperty(value = "分类筛选0-普通 1-颜色")
    private Integer attributeFilter;

    @ApiModelProperty(value = "检索类型0-不检索 1-关键字 2-范围")
    private Integer attributeSearch;

    @ApiModelProperty(value = "是否关联0-不关联 1-关联")
    private Integer attributeRelated;

    @ApiModelProperty(value = "是否支持手动0-不支持 1-支持")
    private Integer attributeHand;

    @ApiModelProperty(value = "属性类型1-类型0-参数")
    private Integer attributeType;

}
